how to make programs using structure in C